Erro ao executar consulta You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%3C AND grupo = 2' at line 14 /** Time: 1774055292 Id Usuário: 1 Trace: #/var/www/clients/client1/web94/web/pages/especialidade.php [21] #/var/www/clients/client1/web94/web/index.php [164] **/ SELECT p.id, p.nome, p.descricao, p.descricao_resumida, p.subtitulo, p.ingredientes, p.categoria, (SELECT caminho FROM sig_ged WHERE modulo = 'Produtos 1.0' AND idModulo = p.id AND (comentario = 'interna' OR comentario = 'capa') ORDER BY comentario DESC LIMIT 1) AS foto FROM sig_produtos AS p WHERE p.status='Liberado' AND p.categoria = %3C AND grupo = 2;